﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using blackhouse.BlackApart.Actions.Log;

namespace blackhouse.BlackApart.Actions {
    public abstract class Action {

        #region Fields

        public string StockActionId { get; set; }
        public IActionLog Log { get; set; }

        #endregion

        #region Methods

        public abstract void Run();
        
        public virtual void Initialize(string initializeData) { }

        public virtual string GetName() {
            return this.GetType().Name;
        }

        #endregion

    }
}
